Service-Route

An example of the header is shown below:

Service-Route: <sip:P2.HOME.EXAMPLE.COM;lr>, <sip:HSP.HOME.EXAMPLE.COM;lr>

The header properties are shown in the following table:

Header Level Action

Add

Delete

Modify

List Entries

Operations Supported

Yes

Yes

Yes

7

Keyword

Sub Types

Attributes

ServiceRoute

String

Read/Write

Below are header manipulation examples:

Example 1

Rule:

Add two Service-Route headers:

Message Type: Invite
Action Subject: header.service-route
Action Type: Add
Action Value: '<P2.HOME.EXAMPLE.COM;lr>'

and

Message Type: Invite
Action Subject: header.service-route
Action Type: Add
Action Value: '<sip:HSP.HOME.EXAMPLE.COM;lr>'

Result:

Service-Route:<P2.HOME.EXAMPLE.COM;lr>
Service-Route: <sip:HSP.HOME.EXAMPLE.COM;lr>

Example 2

Rule:

Modify the Service-Route header in list entry 1:

Message Type: Invite
Action Subject: header.service-route.1.serviceroute
Action Type: Modify
Action Value: '<sip:itsp.com;lr>'

Result:

Service-Route: sip:itsp.com;lr
Service-Route: <sip:HSP.HOME.EXAMPLE.COM;lr>

Example 3

Rule:

Modify the Service-Route header in list entry 0:

Message Type: Invite
Action Subject: header.service-route.0.serviceroute
Action Type: Modify
Action Value: '<sip:home.itsp.com;lr>'

Result:

Service-Route: sip:home.itsp.com;lr
Service-Route: <sip:itsp.com;lr>